package com.hn658.user.config.service.impl;

import org.springframework.beans.factory.annotation.Value;

import com.hn658.user.config.service.IBaseUserConfig;

/**
 * 
 * 基础框架配置文件
 * @author ztjie
 * @date 2015-10-22 下午1:39:24
 * @since
 * @version
 */
public class FileBaseUserConfig implements IBaseUserConfig {

	@Value("${oapi.dingtalk.oaApiHost}")
	private String oaApiHost = "https://oapi.dingtalk.com";
	
	@Value("${oapi.dingtalk.oaBackGroundUrl}")
	private String oaBackGroundUrl = ""; 
	
	@Value("${oapi.dingtalk.corpId}")
	private String corpId = "ding496edacf211b25c7";
	
	@Value("${oapi.dingtalk.secret}")
	private String secret = "8C92n1twBfR_48w4e0437UyZfkyKaioIsuJdj0Jby1ooHvb901vT6uuFrFczApTZ";
	
	@Value("${oapi.dingtalk.ssoSecret}")
	private String ssoSecret = "5NNoWABzRH_-l42wNSeUyi4NI1-nGHJAUUN0CAXyj90QL1lIG0puVtHyfueNY0Wm";
	
	@Value("${upload.image.root}")
	private String imageRoot;

	@Override
	public String getOaApiHost() {
		return oaApiHost;
	}

	public void setOaApiHost(String oaApiHost) {
		this.oaApiHost = oaApiHost;
	}

	@Override
	public String getOaBackGroundUrl() {
		return oaBackGroundUrl;
	}

	public void setOaBackGroundUrl(String oaBackGroundUrl) {
		this.oaBackGroundUrl = oaBackGroundUrl;
	}

	@Override
	public String getCorpId() {
		return corpId;
	}

	public void setCorpId(String corpId) {
		this.corpId = corpId;
	}

	@Override
	public String getSecret() {
		return secret;
	}

	public void setSecret(String secret) {
		this.secret = secret;
	}

	@Override
	public String getSsoSecret() {
		return ssoSecret;
	}

	public void setSsoSecret(String ssoSecret) {
		this.ssoSecret = ssoSecret;
	}

	public String getImageRoot() {
		return imageRoot;
	}

	public void setImageRoot(String imageRoot) {
		this.imageRoot = imageRoot;
	}
}
